home *** CD-ROM | disk | FTP | other *** search
- I wrote this:
-
- > I want a routine that will take a string and work out if it matches any
- > of the commands (including syntax) in it's dictionnary (an array) and
- > returns the number of it. Is that so much to ask.
-
- I thought I meant this:
-
- > I want a routine that will take a string and work out if it matches any
- > of the commands (including *parameters*) in it's dictionnary (an array)
- > and returns the number of it. Is that so much to ask.
-
- But I actually meant this:
-
- > I want a routine that will take a string and work out if it matches any
- > of the commands (including parameters) in it's dictionnary (an array)
- > and adds the code to A$ as Chr$(CODE), with the parameters following.
- > Numbers as two Chr$() and strings as the Chr$(length), followed by the
- > string.
-
- I'll get it right soon ;-)
-
- Here are examples from the *actual* program, which will be a point and
- click adventure creator (maybe one day) :
-
- IncVar # - eg IncVar 57
- Character # Walk To #,# - eg Character 2 Walk To 160,100
- Character # Say $ - eg Character 11 Say "I've got nothing to say"
- Exit On #
- etc
- Get the idea?
-
- Thanks
- _________________________________
- / \
- > Ben Wyatt - bwyatt@paston.co.uk <
- \_________________________________/ ©1995 Very Interesting Signatures
-
-